package com.yxhl.zoume.data.http.rest.repositoryimpl;

import com.yxhl.zoume.data.http.repository.identification.IdentificationRepository;
import com.yxhl.zoume.data.http.rest.param.identification.IdentificationParam;
import com.yxhl.zoume.data.http.rest.repositoryimpl.base.BaseDataRepository;
import com.yxhl.zoume.data.http.rest.response.identification.IdentificationResponse;

import javax.inject.Inject;

import rx.Observable;

/**
 * 项目名称：Ferrari
 * Created by menggod on 16/9/20 .
 */

public class IdentificationDataRepository extends BaseDataRepository implements IdentificationRepository {

    @Inject
    public IdentificationDataRepository() {
    }

    @Override
    public Observable<IdentificationResponse> queryIdentificationStatus(IdentificationParam param) {
        return mZouMeService.queryIdentificationStatus(param);
    }

    @Override
    public Observable<IdentificationResponse> postIdentificationStatus(IdentificationParam param) {
        return mZouMeService.postIdentificationStatus(param);
    }
}
